package com.clear.honghefinance.biz.modules.assist_calculate_summary.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.util.Date;

/**
 * 创建项目辅助核算DTO
 */
@Getter
@Setter
public class CreateAssistCalculateProjectDTO extends CreateAssistCalculateBaseDTO implements Serializable {

    @ApiModelProperty(value = "负责部门")
    private String responsibleDepartment;

    @ApiModelProperty(value = "责任人")
    private String responsiblePerson;

    @ApiModelProperty(value = "手机")
    @Pattern(regexp = "^1[3-9]\\d{9}$", message = "手机号格式有误")
    private String phone;

    @ApiModelProperty(value = "开始日期")
    private Date startDate;

    @ApiModelProperty(value = "结束日期")
    private Date endDate;
}
